/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2023-11-07
 * Time: 14:31
 */
public class Date {
    public int years;
    public int month;
    public int day;

    public void setDay(int years,int month,int day) {
        this.years = years;
        this.month = month;
        this.day = day;
    }

    public void printDate(){
        System.out.println(years+"/"+month+"/"+day);
    }

    public static void main(String[] args) {
        Date date = new Date();
        date.setDay(2023,11,7);
        date.printDate();
    }

}
